package com.example.springlearn.bean;

public class HelloBean {
    private Integer id;
    private String spring;

    public HelloBean() {
    }

    public HelloBean(Integer id, String spring) {
        this.id = id;
        this.spring = spring;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSpring() {
        return spring;
    }

    public void setSpring(String spring) {
        this.spring = spring;
    }

    @Override
    public String toString() {
        return "HelloBean{" +
                "id=" + id +
                ", spring='" + spring + '\'' +
                '}';
    }
}
